PHY MAKE CLOTH

Create a new cloth object.

  Syntax
PHY MAKE CLOTH ID
  Parameters
ID
Integer
identification number of the cloth object

  Returns

  Description

Calling phy make cloth is the first step in creating a cloth object. Once a cloth object has been made with this command you then need to proceed to set properties such as the size of the cloth etc. and finally build the cloth using phy build cloth. It is only when the cloth has been built that you will get to see it displayed on screen.

Cloth objects share their identification numbers with objects from Basic 3D therefore it is not possible to have say a model loaded into ID 1 and then attempt to make a cloth object with an ID of 1. As long as you use a free ID slot when making cloth then the commands will work correctly. In cases when an ID number is passed in and another object is taking up that ID number then an error message will be displayed.

  Example Code
No example code is provided for this command